package com.pl.myshop.configuration.sentinel;

import com.alibaba.csp.sentinel.annotation.aspectj.SentinelResourceAspect;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * <p>
 *
 * @Description: TODO
 * </p>
 * @ClassName DubboSentinelConfiguration
 * @Author pl
 * @Date 2020/4/1
 * @Version V1.0.0
 */
@Configuration
public class DubboSentinelConfiguration{
    @Bean
    public SentinelResourceAspect sentinelResourceAspect() {
        return new SentinelResourceAspect();
    }
}